//
//  SystemSetingCell.h
//  PigMarket
//
//  Created by mac on 2019/3/20.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "LoginAccountModel.h"

@class ChangeAccountCell;

typedef void (^MySwitchBlock)(BOOL switchStuts);
@interface SystemSetingCell : UITableViewCell

/**
 detailLab
 */
@property (nonatomic , strong) UILabel *detailLab;
/**
 聊天详情界面  复用cell布局  添加加入黑名单开关按钮
 */
@property (nonatomic , strong) UISwitch *mySwitch;
/**
 接入黑名单开关
 */
@property (nonatomic , copy) MySwitchBlock mySwitchBlock;
/**
 设置infoDic
 */
@property (nonatomic , strong) NSDictionary *infoDic;
/**
 群聊消息设置
 */
- (void) configGroupCellWithGroupSetUpDic:(NSDictionary *)groupSetUpDic headInfo:(NSMutableArray *)headInfo;

/**
 单聊设置赋值
 */
- (void)configChatCellWithDataDic:(NSDictionary *)dataDic indexPath:(NSIndexPath *)indexPath;

/**
 群管理赋值
 */
- (void)configGroupManagerCellWithDataDic:(NSDictionary *)dataDic indexPath:(NSIndexPath *)indexPath;

+ (instancetype)cellWithTableView:(UITableView *)tableView;
@end


#pragma mark --- 切换账户 ---
@interface ChangeAccountCell : UITableViewCell

/**
 selectImg
 */
@property (nonatomic , strong) UIImageView *selectImg;
+ (instancetype)cellWithTableView:(UITableView *)tableView;

/**
 infoDic
 */
@property (nonatomic , strong) NSDictionary *infoDic;

@property (nonatomic, strong) LoginItemModel *itemModel;



@end
